/*
 * Copyright (c) 2002 David Corbin and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 * 	  David Corbin  - initial implementation - ALL access to perforce server 
 * 					should be through this interface.
 * 					- added moveFile method
 */
package net.sourceforge.p4eclipse.core.api;

import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.team.IResourceTree;
import org.eclipse.core.runtime.IProgressMonitor;

/**
 * @version 	1.0
 * @author     <a href="mailto:dcorbin@users.sourceforge.net">David Corbin</a>
 */
public interface PerforceServer
{
	public FolderRepositoryRelation determineFolderPosition(String folder);
	public ClientForm getClient();	
	public boolean moveFile(IResourceTree tree,IFile src, IFile destination,IProgressMonitor monitor);	
}
